package com.atguigu;

import com.atguigu.spzx.common.anno.EnableSpzxUserInfoInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author syh
 * @create 2023-09-03 16:13
 */
@SpringBootApplication
@EnableFeignClients(basePackages = {
        "com.atguigu.spzx"
})
@ComponentScan(basePackages = "com.atguigu.spzx")
@EnableSpzxUserInfoInterceptor
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args) ;
    }

}
